import axios from "../../axios.js"
// 渠道管理接口
export default {
    //查询渠道管理
    GETALLCHANNEL(data) {
        return axios({
          url: '/singleChannelZlc/list',
          method: 'post',
          data,
        })
      },
    
    //修改状态
      EDITTYPE(data) {
        return axios({
          url: '/singleChannelZlc/status',
          method: 'post',
          data,
        })
      },
  /**===========操作日志============== */
  getLog_Api(data) {
    return axios({
      url: '/singleChannelZlc/operate/list',
      method: 'get',
      params:data,
    })
  },

  delLog_Api(data) {
    return axios({
      url: `/singleChannelZlc/operate/delete?id=${data}`,
      method: 'post'
    })
  },

  //贷款小类
  channelMaintenance(data) {
    return axios({
      url: `/singleChannelZlc/channelMaintenance`,
      method: 'post'
    })
  },
};
